Introduction
The plug-in is used to enhance the openfire function. This document is a developer guide for creating plug-ins.
Structure of a plug-in
The plug-in is stored in the plug-in openfirehome directory. When a jar or war plug-in file is deployed, it is automatically decompressed and installed. The file structure in the plug-in directory is as follows:
Plug-in Structure
Myplugin/|-Plugin. xml plug-in definition file|-Readme.html: The plug-in of
abstract method or exception handling.
9. Click window-> show view-> ant, select Add buildfiles from ant, select build. XML in the build folder, and click OK.
10. Copy the tools. jar package in the Lib folder of Java JDK to the Lib folder of Java JRE. 11. Run the selected file.
12. After the execution is successful, refresh the project. There are two more folders in the folder.
13. Select All jar packages in the target/lib folder, right-click, and choose build path> Add to build path (simil
method and do not handle the exception.9. Click Windows, Show View, ant, select Add Buildfiles in ant, select the Build.xml in the build directory, and then OK10. Copy the Tools.jar package from the Lib directory of the Java JDK to the Lib directory of the Java JRE 11, run the selected file12, after the successful operation, refresh the project, the directory more than two folders13. Select all the jar packages under the Target/lib directory, right-click, choose Build path–> Add to build Path (
I configured the next cm (Connection Manager), the basic idea is this, there are two machines, 192.168.1.11 above the deployment of openfire,192.168.1.18 above the deployment of cm, and cm connected to the openfire.
--------192.168.1.11 OpenFire-----------
Enable Connection Manager in the OpenFire console and s
Openfire + spark + smack Instant Messaging (1) --- Openfire installation and configuration, openfiresmackOpenfire is an instant messaging server, also known as the instant messaging platform. It is based on the XMPP protocol and is familiar with communication software QQ, MSN and Gtalk. Gtalk is based on the implementation of XMPP protocol.In instant messaging, you often do not need to use point-to-point co
Preface
Openfire + spark + smack can be considered for Java instant messaging solutions. Of course there are other options.
Openfire is an instant messaging server version based on the jabber protocol (XMPP). We recommend that you use version 3.8.1, which is the latest version and can find the downloaded source code online.
The instant messaging client can use spark2.6.3, which is currently the latest versi
Openfire server configuration. Skip the introduction first.
Article When used in.
Openfire Extension Test integration with existing system users
If I want to use the user/group (department) of an existing system instead of using openfire to manage a set of users/groups, it is very convenient to use openfire to i
Objectivehttp://blog.csdn.net/shimiso/article/details/8816558The Java field of Instant Messaging solutions can be considered openfire+spark+smack. There are other options, of course.OpenFire is an Instant Messaging server-side version that is based on the Jabber Protocol (XMPP), which is currently recommended to use the 3.8.1 version, which is currently the latest version and can be found on the web for downloaded source code.Instant Messaging client
Because our OpenFire plug-in introduced more and more of the package, resulting in the plug-in is also growing, and openfire3.10.x after the cancellation of pack200 packaging Method (compression), resulting in the packaging of the plug-in more and more large, about 10M, upload speed about 200kb/s, Sometimes upload plug-ins to more than 50%, because the network is not good, resulting in re-transmission, egg pain ~ ~ ~Therefore, you want to think about
1. openfire download: Download: http://www.igniterealtime.org/downloads/index.jsp On the official download site, you can obtain the installation files for Windows, Linux, and MAC systems. Here we mainly talk about the configuration of Windows systems. ignore other systems. For Windows systems, the installation files are divided into EXE and ZIP files. I personally recommend the installation files of EXE, which only requires double-click-> Installati
Label:Write in front, in order to achieve the successful execution of the whole process, please prepare the following documents first: 1. Login OpenFire server and Spark client related programs (Openfire_4_0_1.exe, Spark_2_7_6.exe) 2. Connect OpenFire and Oracle-related jar packages (Presence.jar, Smack.jar, Smackx-debug.jar, Smackx.jar, Ojdbc.jar) STEP1: Install the O
How to Use Tsung to test the Openfire service and tsung to test openfire
1. Install erlang, Tsung, and other software on the machines used for testing and Openfire service machines, with the same location and version
2. Run the Openfire service, including the cluster
3. Write or modify the Tsung script
1) The
IOS-uninstall Openfire and ios-openfire
First, make sure that you have disabled openfire.
Open the terminal (in Application> utility>)
Enter the following command
Sudo rm-rf/Library/PreferencePanes/Openfire. prefPane
Sudo rm-rf/usr/local/openfire
Sudo rm-rf/Library/Lau
The use of OpenFire as a server, so no need to write a server, will save a lot of things, openfire after a simple configuration can realize a communication server basic functions,
OpenFire
With Java development, open source real-time collaboration (RTC) servers are based on the XMPP (Jabber) protocol.
Xmpp
An xml-based protocol that inherits the flexibility o
Installation in Windows
1. First download the latest installation package at http://www.igniterealtime.org/projects/openfire/index.jsp* Note that the JRE version and the JRE version are not included, and the JRE version must be supported by JRE 1.5.0 or later.
2.install or decompress openfire.exe* To add openfirep to a service, run the following command:Openfire-service/install -- install the serviceOpenfire-service/uninstall -- uninstall the se
Recently re-openfire with OpenLDAP integration, originally did not integrate the time to choose the standard database no problem, but now with the embedded database, the error,,,Cause of error: No data table imported OpenFireLiberation Method:1, log in the database, I installed the MySQLMysql-u root-p;2. Select DatabaseUse OpenFire3. Import Data SheetSource/openfire_mysql.sqlNote: Where is this database? My is on Ubuntu system, the default
Openfire source code explanation-user logon and openfire source code
Based on xmpp protocol
Client sending:
Xmlns is the namespace, and mechanic is the encryption method of the user name and password. The text content of the auth tag is the string encrypted by the user name and password in PLAIN mode.
Received by the server:
Received through the messageReceived method of the ConnectionHandler class, Proces
Is you a hacker?How to build another qq/wechat/whatsapp/skype/imessage?Let's go through this!!!!Materials:A Linux/unix/windows/mac Computer/server, and do some basic things!Is you feeling?Okay, let ' s ride the rocket!Get materials:1. A Search Engineduckduckgo.com to search ' OpenFire '2. Service Software' OpenFire ' From here http://www.igniterealtime.org/downloads/index.jspAnd the client software spark: '
Framework Introduction: openfire is developed in Java and the open-source RTC server is based on the XMPP (jabber) protocol. You can use it to easily build an efficient Instant Messaging Server. openfire is easy to install and use and manage on the web. A single server supports tens of thousands of concurrent users. Because the XMPP protocol is open, you can use various IM client software that supports XMPP
The last section OpenFire server has been built, this section see how to use the smack based on the XMPP protocol login OpenFire Server,
Create a good test account in the server
The following look at the Android client code, about the interface layout is not much to say, you can refer to the Qqandroid Client interface:
Android High Imitation QQ login interface http://blog.csdn.net/vestigge/article/deta
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.